package com.example.dao.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.b_pojo.Musiccategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 111
* @description 针对表【musiccategory】的数据库操作Mapper
* @createDate 2024-08-05 17:50:24
* @Entity com.example.common.b_pojo.Musiccategory
*/
@Mapper
public interface BMusiccategoryMapper extends BaseMapper<Musiccategory> {


    Page<Musiccategory> selectAllCategory(Page<Musiccategory> page, LambdaQueryWrapper<Musiccategory> queryWrapper);

    List<Musiccategory> selectLikeByName(String categoryName);

    int startandstopcategory(Long id);

    int deleteallById(Long id);
}
